package com.guoning.office_system.service;

import com.guoning.office_system.model.RoleUser;
import com.guoning.office_system.model.User;
import com.guoning.office_system.vo.Criteria;

import java.util.List;
import java.util.Map;

public interface RoleUserService {
    Map getUsers(Long roleId);

    int updateForDelete(Criteria criteria);

    int deleteByPrimaryKey(Long id);

    int insert(Criteria criteria);

    int insertSelective(RoleUser record);

    RoleUser selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(RoleUser record);

    int updateByPrimaryKey(RoleUser record);
}